package com.laputa.dao.model;

/**
 * Ground entity. @author MyEclipse Persistence Tools
 */

public class Ground implements java.io.Serializable {

	// Fields

	private Long id;
	private Long building;
	private Long owner;
	private Long user;
	private Integer usetime;
	private Integer updatetime;
	private Long price;

	// Constructors

	/** default constructor */
	public Ground() {
	}

	/** minimal constructor */
	public Ground(Long building, Long owner, Long user, Long price) {
		this.building = building;
		this.owner = owner;
		this.user = user;
		this.price = price;
	}

	/** full constructor */
	public Ground(Long building, Long owner, Long user, Integer usetime,
			Integer updatetime, Long price) {
		this.building = building;
		this.owner = owner;
		this.user = user;
		this.usetime = usetime;
		this.updatetime = updatetime;
		this.price = price;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getBuilding() {
		return this.building;
	}

	public void setBuilding(Long building) {
		this.building = building;
	}

	public Long getOwner() {
		return this.owner;
	}

	public void setOwner(Long owner) {
		this.owner = owner;
	}

	public Long getUser() {
		return this.user;
	}

	public void setUser(Long user) {
		this.user = user;
	}

	public Integer getUsetime() {
		return this.usetime;
	}

	public void setUsetime(Integer usetime) {
		this.usetime = usetime;
	}

	public Integer getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(Integer updatetime) {
		this.updatetime = updatetime;
	}

	public Long getPrice() {
		return this.price;
	}

	public void setPrice(Long price) {
		this.price = price;
	}

}